const autoprefixer = require('autoprefixer');
const stylelint = require('stylelint');
const postcssCssnext = require('postcss-cssnext');

module.exports = {
  plugins: [
    stylelint({
      config: {
        rules: {
          'declaration-no-important': true,
        },
      },
    }),
    postcssCssnext({
      // 指定所支持的浏览器
      browsers: ['> 1%', 'last 2 versions'],
    }),
  ],
};
